package me.huangxiang.data_structure_and_algorithm.sort;

public class Util {
    public static void print(int[] A){
        for (int a : A){
            System.out.print(a + " ");
        }
        System.out.print("\n--------------------------------------------\n");
    }

    public static void swap(int[] A, int x, int y){
        int tmp = A[x];
        A[x] = A[y];
        A[y] = tmp;
    }
}
